package com.kma.summer2012.client.services.session;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.kma.summer2012.shared.model.UICrumbsRequest;
import com.kma.summer2012.shared.model.UICrumbsToolItem;
import com.kma.summer2012.shared.model.UICrumbsWorkItem;

public interface CrumbsSessionServiceAsync {
    void setParameterWorkItem(String nameProperty, UICrumbsWorkItem property, AsyncCallback<Void> async);

    void getParameterWorkItem(String nameParameter, AsyncCallback<UICrumbsWorkItem> async);

    void getParameterRequest(String nameParameter, AsyncCallback<UICrumbsRequest> async);

    void setParameterRequest(String nameProperty, UICrumbsRequest property, AsyncCallback<Void> async);

    void setParameterTool(String nameProperty, UICrumbsToolItem property, AsyncCallback<Void> async);

    void getParameterToolItem(String nameParameter, AsyncCallback<UICrumbsToolItem> async);

    void setParameterInteger(String nameProperty, int property, AsyncCallback<Void> async);

    void getParameterInteger(String nameParameter, AsyncCallback<Integer> async);
}
